I am trying to replace the defintion of one type in a library which comes with type defintions. I tried various options such as:
// untyped.d.ts
declare module "emotion" {
export const css: (...args: DR<Array<Interpolation>>) => string
}
Unfortunatly it doesn't work. Either removes other types of the library, or isn't recognized. What is the proper way to augment a library in a d.ts customized file?