mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-26 09:30:32 +00:00
19 lines
523 B
TypeScript
19 lines
523 B
TypeScript
// Type definitions for picturefill 3.0
|
|
// Project: https://scottjehl.github.io/picturefill/
|
|
// Definitions by: Alexander Azarov <https://github.com/alaz>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare namespace Picturefill {
|
|
type ElementNullable = Element | null;
|
|
|
|
interface EvaluateArg {
|
|
reevaluate?: boolean;
|
|
elements: NodeList | ElementNullable[];
|
|
}
|
|
}
|
|
|
|
declare function picturefill(arg?: Picturefill.EvaluateArg): void;
|
|
|
|
export = picturefill;
|
|
export as namespace picturefill;
|