mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
534 B
TypeScript
15 lines
534 B
TypeScript
// Type definitions for stringify-attributes 1.0
|
|
// Project: https://github.com/sindresorhus/stringify-attributes#readme
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = stringifyAttributes;
|
|
|
|
declare function stringifyAttributes(attributes: stringifyAttributes.Attributes): string;
|
|
|
|
declare namespace stringifyAttributes {
|
|
interface Attributes {
|
|
[attrName: string]: string | number | boolean | Array<string | number>;
|
|
}
|
|
}
|