mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
37 lines
863 B
TypeScript
37 lines
863 B
TypeScript
// @declaration: true
|
|
// @stripInternal:true
|
|
|
|
export class Foo {
|
|
constructor(
|
|
/** @internal */
|
|
public isInternal1: string,
|
|
/** @internal */ public isInternal2: string, /** @internal */
|
|
public isInternal3: string,
|
|
// @internal
|
|
public isInternal4: string,
|
|
// nothing
|
|
/** @internal */
|
|
public isInternal5: string,
|
|
/* @internal */ public isInternal6: string /* trailing */,
|
|
/* @internal */ public isInternal7: string, /** @internal */
|
|
// not work
|
|
public notInternal1: string,
|
|
// @internal
|
|
/* not work */
|
|
public notInternal2: string,
|
|
/* not work */
|
|
// @internal
|
|
/* not work */
|
|
public notInternal3: string,
|
|
) { }
|
|
}
|
|
|
|
export class Bar {
|
|
constructor(/* @internal */ public isInternal1: string) {}
|
|
}
|
|
|
|
export class Baz {
|
|
constructor(/* @internal */
|
|
public isInternal: string
|
|
) {}
|
|
} |