mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
build: emit declaration in dist folder
If it's in the types folder, when importing a subpath like `axios-cache-interceptor/dist/storage/memory`, the types cannot be inferred.
This commit is contained in:
parent
c2c409787a
commit
e2de9288bd
@ -63,7 +63,7 @@
|
||||
// "noEmitHelpers": true, /* Disable generating custom helper functions like `__extends` in compiled output. */
|
||||
// "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
|
||||
// "preserveConstEnums": true, /* Disable erasing `const enum` declarations in generated code. */
|
||||
"declarationDir": "./types", /* Specify the output directory for generated declaration files. */
|
||||
// "declarationDir": "./types", /* Specify the output directory for generated declaration files. */
|
||||
|
||||
/* Interop Constraints */
|
||||
"isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user