Skip to content

Commit 3138447

Browse files
deekshas8cloud-sdk-js
andauthored
chore: Add node16 option (#5184)
* add node16 option * Changes from lint:fix --------- Co-authored-by: cloud-sdk-js <[email protected]>
1 parent 20c9aca commit 3138447

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.changeset/chilled-colts-heal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@sap-cloud-sdk/generator-common': minor
33
---
44

5-
[Fixed Issue] Fix ESM client code compilation by allowing the `module` option to be set to `nodenext` in a custom `tsconfig.json` file.
5+
[Fixed Issue] Fix ESM client code compilation by allowing the `module` option to be set to `nodenext` or `node16` in a custom `tsconfig.json` file.

.github/actions/check-public-api/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/generator-common/src/compiler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ function parseModuleKind(input: string): ModuleKind {
256256
es2015: ModuleKind.ES2015,
257257
es2020: ModuleKind.ES2020,
258258
esnext: ModuleKind.ESNext,
259+
node16: ModuleKind.Node16,
259260
nodenext: ModuleKind.NodeNext
260261
};
261262

0 commit comments

Comments
 (0)