UNPKG

aws-crt

Version:

NodeJS bindings to the aws-c-* libraries

20 lines (19 loc) 560 B
declare type Ctor<T> = new (...args: any[]) => T; /** Represents an object allocated natively inside the AWS CRT. */ export declare class NativeResource { private handle; constructor(handle: any); native_handle(): any; } /** * Represents an object allocated natively inside the AWS CRT which also * needs a node/TS base class */ export declare function NativeResourceMixin<T extends Ctor<{}>>(Base: T): { new (...args: any[]): { _handle: any; _super(handle: any): void; native_handle(): any; }; } & T; export {};