Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
canvas
/
node_modules
/
style-to-object
/
Filename :
index.d.ts
back
Copy
/** * Parses inline style to object. * * @example * import StyleToObject from 'style-to-object'; * StyleToObject('line-height: 42;'); */ declare function StyleToObject( style: string, iterator?: StyleToObject.Iterator ): { [name: string]: string } | null; export = StyleToObject; declare namespace StyleToObject { interface DeclarationPos { line: number; column: number; } // declaration is an object from module `inline-style-parser` interface Declaration { type: string; property: string; value: string; position: { start: DeclarationPos; end: DeclarationPos; source: any; }; } type Iterator = ( property: string, value: string, declaration: Declaration ) => void; }