15 lines
388 B
TypeScript
15 lines
388 B
TypeScript
//// [typeAliasDeclarationEmit.ts]
|
|
|
|
export type callback<T> = () => T;
|
|
|
|
export type CallbackArray<T extends callback> = () => T;
|
|
|
|
//// [typeAliasDeclarationEmit.js]
|
|
define(["require", "exports"], function (require, exports) {
|
|
});
|
|
|
|
|
|
//// [typeAliasDeclarationEmit.d.ts]
|
|
export declare type callback<T> = () => T;
|
|
export declare type CallbackArray<T extends callback> = () => T;
|