Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use
declare module
in first-party type declarations
First-party type declarations should simply be provided at top level in .d.ts files with the right filenames. The `declare module` was breaking usage like `import "handlebars/runtime.js"` (which happens to be the only way to import the runtime from a project with native ES modules, "type": "module"). Signed-off-by: Anders Kaseorg <andersk@mit.edu>
- Loading branch information