mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* Add typings for redact-secrets * fix lint issues * Change names to match README * Update types/redact-secrets/index.d.ts
15 lines
410 B
TypeScript
15 lines
410 B
TypeScript
// Type definitions for redact-secrets 1.0
|
|
// Project: https://github.com/watson/redact-secrets#readme
|
|
// Definitions by: wrumsby <https://github.com/wrumsby>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.7
|
|
|
|
interface Redactor {
|
|
map: (obj: any) => any;
|
|
forEach: (obj: any) => void;
|
|
}
|
|
|
|
declare function Redact(redacted: string): Redactor;
|
|
|
|
export = Redact;
|