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