DefinitelyTyped/types/valid-data-url/index.d.ts
jgeth 79f6b71c16 Adds type definitions for 'valid-data-url' (#36158)
Adds type definitions and tests
Adds tsconfig and tslint config
2019-06-13 03:24:23 -07:00

14 lines
364 B
TypeScript

// Type definitions for valid-data-url 2.0
// Project: https://github.com/killmenot/valid-data-url
// Definitions by: jgeth <https://github.com/jgeth>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace validDataUrl;
declare const validDataUrl: {
(candidate: string): boolean;
regex: RegExp;
};
export = validDataUrl;