11 lines
195 B
TypeScript
11 lines
195 B
TypeScript
//// [declareClassInterfaceImplementation.ts]
|
|
interface IBuffer {
|
|
[index: number]: number;
|
|
}
|
|
|
|
declare class Buffer implements IBuffer {
|
|
|
|
}
|
|
|
|
|
|
//// [declareClassInterfaceImplementation.js]
|