diff --git a/examples/napi/__test__/typegen.spec.ts.md b/examples/napi/__test__/typegen.spec.ts.md index 3fe058e5..2428c0e5 100644 --- a/examples/napi/__test__/typegen.spec.ts.md +++ b/examples/napi/__test__/typegen.spec.ts.md @@ -38,7 +38,7 @@ Generated by [AVA](https://avajs.dev). }␊ export function either4(input: string | number | boolean | Obj): number␊ /** default enum values are continuos i32s start from 0 */␊ - export enum Kind {␊ + export const enum Kind {␊ /** Barks */␊ Dog = 0,␊ /** Kills birds */␊ @@ -47,7 +47,7 @@ Generated by [AVA](https://avajs.dev). Duck = 2␊ }␊ /** You could break the step and for an new continuous value. */␊ - export enum CustomNumEnum {␊ + export const enum CustomNumEnum {␊ One = 1,␊ Two = 2,␊ Three = 3,␊ @@ -78,7 +78,7 @@ Generated by [AVA](https://avajs.dev). age?: number | undefined | null␊ }␊ export function receiveAllOptionalObject(obj?: AllOptionalObject | undefined | null): void␊ - export enum ALIAS {␊ + export const enum ALIAS {␊ A = 0,␊ B = 1␊ }␊ diff --git a/examples/napi/__test__/typegen.spec.ts.snap b/examples/napi/__test__/typegen.spec.ts.snap index d60e614e..75241bd8 100644 Binary files a/examples/napi/__test__/typegen.spec.ts.snap and b/examples/napi/__test__/typegen.spec.ts.snap differ