You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
knockout.d.ts defines both an ambient internal module as well as an ambient external module. This sucks because your entire solution will then assume that "ko" is a global variable, even if you intent to use Knockout as a CommonJS package via NPM rather than inject it as a script tag.
Would you be okay with my splitting knockout.d.ts into two separate files? The proposal is to change:
Hello,
knockout.d.ts defines both an ambient internal module as well as an ambient external module. This sucks because your entire solution will then assume that "ko" is a global variable, even if you intent to use Knockout as a CommonJS package via NPM rather than inject it as a script tag.
Would you be okay with my splitting knockout.d.ts into two separate files? The proposal is to change:
knockout.d.ts:
to:
knockout.internal-module.d.ts:
and knockout.external-module.d.ts:
Thoughts?
The text was updated successfully, but these errors were encountered: