substitute.d.ts 155 B

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