Update upstream source from tag 'upstream/3.1.0+dfsg+_cs3.1.3'
Update to upstream version '3.1.0+dfsg+~cs3.1.3'
with Debian dir a9c7bb06a954d34ac7c36f3eb61df9f8de8610ea
Yadd
2 years ago
0 | MIT License | |
1 | ||
2 | Copyright (c) Microsoft Corporation. | |
3 | ||
4 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
5 | of this software and associated documentation files (the "Software"), to deal | |
6 | in the Software without restriction, including without limitation the rights | |
7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
8 | copies of the Software, and to permit persons to whom the Software is | |
9 | furnished to do so, subject to the following conditions: | |
10 | ||
11 | The above copyright notice and this permission notice shall be included in all | |
12 | copies or substantial portions of the Software. | |
13 | ||
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
20 | SOFTWARE |
0 | # Installation | |
1 | > `npm install --save @types/fg-loadcss` | |
2 | ||
3 | # Summary | |
4 | This package contains type definitions for fg-loadcss (https://github.com/filamentgroup/loadCSS). | |
5 | ||
6 | # Details | |
7 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fg-loadcss. | |
8 | ||
9 | ### Additional Details | |
10 | * Last updated: Thu, 19 Nov 2020 01:04:25 GMT | |
11 | * Dependencies: none | |
12 | * Global values: none | |
13 | ||
14 | # Credits | |
15 | These definitions were written by [Noah Overcash](https://github.com/ncovercash). |
0 | // Type definitions for fg-loadcss 3.1 | |
1 | // Project: https://github.com/filamentgroup/loadCSS | |
2 | // Definitions by: Noah Overcash <https://github.com/ncovercash> | |
3 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
4 | ||
5 | export function loadCSS( | |
6 | href: string, | |
7 | before?: HTMLElement, | |
8 | media?: string, | |
9 | attributes?: Record<string, string>, | |
10 | ): HTMLLinkElement; | |
11 | ||
12 | declare global { | |
13 | interface Window { | |
14 | onloadCSS: (stylesheet: HTMLLinkElement, callback: () => void) => void; | |
15 | } | |
16 | } |
0 | { | |
1 | "name": "@types/fg-loadcss", | |
2 | "version": "3.1.1", | |
3 | "description": "TypeScript definitions for fg-loadcss", | |
4 | "license": "MIT", | |
5 | "contributors": [ | |
6 | { | |
7 | "name": "Noah Overcash", | |
8 | "url": "https://github.com/ncovercash", | |
9 | "githubUsername": "ncovercash" | |
10 | } | |
11 | ], | |
12 | "main": "", | |
13 | "types": "index.d.ts", | |
14 | "repository": { | |
15 | "type": "git", | |
16 | "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | |
17 | "directory": "types/fg-loadcss" | |
18 | }, | |
19 | "scripts": {}, | |
20 | "dependencies": {}, | |
21 | "typesPublisherContentHash": "bb29eb889a25a5df403ad41aba64c9ef7fcb63cca3ee8423a7fe7ff5ebb7c47e", | |
22 | "typeScriptVersion": "3.2" | |
23 | }⏎ |