aws4fetch icon indicating copy to clipboard operation
aws4fetch copied to clipboard

Type path for each export

Open tomlarkworthy opened this issue 10 months ago • 0 comments

Fix for https://github.com/mhart/aws4fetch/issues/57

See https://github.com/microsoft/TypeScript/issues/52363

feature in npm docs is here https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing

Note "types" field must be first. Every export needs an entry. The existing root "types" is left as is as a fallback for old TS compilers.

tomlarkworthy avatar Aug 25 '23 18:08 tomlarkworthy