6 lines
155 B
TypeScript
6 lines
155 B
TypeScript
export interface ObjectType<T> {
|
|
[key: string]: T;
|
|
}
|
|
declare function substitute<T>(str: string, o: ObjectType<T>): string;
|
|
export default substitute;
|