8 lines
125 B
TypeScript
8 lines
125 B
TypeScript
|
//// [decoratorOnTypeAlias.ts]
|
||
|
declare function dec<T>(target: T): T;
|
||
|
|
||
|
@dec
|
||
|
type T = number;
|
||
|
|
||
|
//// [decoratorOnTypeAlias.js]
|