From: Matt Corallo Date: Sat, 15 Jan 2022 20:28:36 +0000 (+0000) Subject: [TS] Create .d.mts files by default X-Git-Tag: v0.0.105.0~5^2~22 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=a9247f335449abf24b9d8a317d45e193fd74ae85;p=ldk-java [TS] Create .d.mts files by default --- diff --git a/ts/.gitignore b/ts/.gitignore index ccf24f9f..f17eb7be 100644 --- a/ts/.gitignore +++ b/ts/.gitignore @@ -1,2 +1,3 @@ *.mjs *.mjs.map +*.d.mts diff --git a/ts/tsconfig.json b/ts/tsconfig.json index 250c28f7..a2867b84 100644 --- a/ts/tsconfig.json +++ b/ts/tsconfig.json @@ -4,7 +4,9 @@ "module": "es2020", "sourceMap": true, "esModuleInterop": false, - "allowSyntheticDefaultImports": true, + "stripInternal": true, + + "allowSyntheticDefaultImports": false, "forceConsistentCasingInFileNames": true, "declaration": true, "strict": true,