summaryrefslogtreecommitdiffstats
path: root/require.d.ts
blob: 6c6222ddb520d5e7df48adbffba03511f950b879 (plain)
1
2
3
4
5
declare var require: {
    <T>(path: string): T;
    (paths: string[], callback: (...modules: any[]) => void): void;
    ensure: (paths: string[], callback: (require: <T>(path: string) => T) => void) => void;
};