We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c28558a commit 1fbc5c3Copy full SHA for 1fbc5c3
‎crates/napi/index.d.ts
@@ -39,7 +39,7 @@ export interface FindConfig {
39
*/
40
languageGlobs?: Array<string>
41
}
42
-export const enum Lang {
+export enum Lang {
43
Html = 'Html',
44
JavaScript = 'JavaScript',
45
Tsx = 'Tsx',
‎crates/napi/package.json
@@ -41,8 +41,8 @@
},
"scripts": {
"artifacts": "napi artifacts",
- "build": "napi build --platform --release",
- "build:debug": "napi build --platform",
+ "build": "napi build --no-const-enum --platform --release",
+ "build:debug": "napi build --no-const-enum --platform",
46
"prepublishOnly": "napi prepublish -t npm --skip-gh-release",
47
"test": "ava",
48
"version": "napi version"
0 commit comments