test: update type snapshot

This commit is contained in:
h-a-n-a 2021-12-19 20:19:33 +08:00
parent 72f58204d2
commit 7891c52cbf
4 changed files with 15 additions and 2 deletions

View file

@ -364,7 +364,7 @@ async function processIntermediateTypeFile(
const dtsHeader = `/* tslint:disable */ const dtsHeader = `/* tslint:disable */
/* eslint-disable */ /* eslint-disable */
/* auto-generated by Napi-rs */ /* auto-generated by NAPI-RS */
export class ExternalObject<T> { export class ExternalObject<T> {
readonly '': { readonly '': {

View file

@ -8,7 +8,10 @@ Generated by [AVA](https://avajs.dev).
> Snapshot 1 > Snapshot 1
`/* eslint-disable */␊ `/* tslint:disable */␊
/* eslint-disable */␊
/* auto-generated by NAPI-RS */␊
export class ExternalObject<T> {␊ export class ExternalObject<T> {␊
readonly '': {␊ readonly '': {␊
@ -156,6 +159,13 @@ Generated by [AVA](https://avajs.dev).
kind: number␊ kind: number␊
constructor(name: string, kind: number)␊ constructor(name: string, kind: number)␊
}␊ }␊
export class NinjaTurtle {␊
name: string␊
/** Create your ninja turtle! 🐢 */␊
static newRaph(): NinjaTurtle␊
getMaskColor(): string␊
getName(): string␊
}␊
export class ClassWithFactory {␊ export class ClassWithFactory {␊
name: string␊ name: string␊
static withName(name: string): ClassWithFactory␊ static withName(name: string): ClassWithFactory␊

View file

@ -1,5 +1,8 @@
/* tslint:disable */
/* eslint-disable */ /* eslint-disable */
/* auto-generated by NAPI-RS */
export class ExternalObject<T> { export class ExternalObject<T> {
readonly '': { readonly '': {
readonly '': unique symbol readonly '': unique symbol