I actually tried to use @types/* directly but came across several issues which prevented me from switching over: - https://github.com/Microsoft/TypeScript/issues/8715 - https://github.com/Microsoft/TypeScript/issues/8723
		
			
				
	
	
		
			13 lines
		
	
	
		
			375 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			375 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
interface FilterOptions {
 | 
						|
  extensions?: string[]
 | 
						|
}
 | 
						|
 | 
						|
declare class Filter {
 | 
						|
  constructor(inputTree: any, options?: FilterOptions);
 | 
						|
  processString(contents: string, relativePath: string): string;
 | 
						|
  // NB: This function is probably not intended as part of the public API
 | 
						|
  processFile(srcDir: string, destDir: string, relativePath: string): Promise<any>;
 | 
						|
}
 | 
						|
 | 
						|
export = Filter;
 |