UNPKG

155 BTypeScriptView Raw
1export interface ObjectType<T> {
2 [key: string]: T;
3}
4declare function substitute<T>(str: string, o: ObjectType<T>): string;
5export default substitute;