fix(napi-derive): should transform struct case on Impl
This commit is contained in:
parent
5aa61c2142
commit
cc79c9794e
4 changed files with 3 additions and 3 deletions
examples/napi
|
@ -217,7 +217,7 @@ Generated by [AVA](https://avajs.dev).
|
|||
export type Blake2bHasher = Blake2BHasher␊
|
||||
/** Smoking test for type generation */␊
|
||||
export class Blake2BHasher {␊
|
||||
static withKey(key: Blake2bKey): Blake2BHasher␊
|
||||
update(data: Buffer): void␊
|
||||
}␊
|
||||
export type Blake2bKey = Blake2BKey␊
|
||||
export class Blake2BKey { }␊
|
||||
|
|
Binary file not shown.
2
examples/napi/index.d.ts
vendored
2
examples/napi/index.d.ts
vendored
|
@ -207,7 +207,7 @@ export class Bird {
|
|||
export type Blake2bHasher = Blake2BHasher
|
||||
/** Smoking test for type generation */
|
||||
export class Blake2BHasher {
|
||||
static withKey(key: Blake2bKey): Blake2BHasher
|
||||
update(data: Buffer): void
|
||||
}
|
||||
export type Blake2bKey = Blake2BKey
|
||||
export class Blake2BKey { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue