mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
16 lines
438 B
TypeScript
16 lines
438 B
TypeScript
// Type definitions for deep-freeze
|
|
// Project: https://github.com/substack/deep-freeze
|
|
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare namespace DeepFreeze {
|
|
export interface DeepFreezeInterface {
|
|
<T>(obj: T): T;
|
|
}
|
|
}
|
|
|
|
declare module "deep-freeze" {
|
|
let deepFreeze: DeepFreeze.DeepFreezeInterface;
|
|
export = deepFreeze;
|
|
}
|