@types/rollup-plugin-json
Advanced tools
@@ -16,4 +16,4 @@ // Type definitions for rollup-plugin-json 3.0 | ||
| */ | ||
| include?: string | string[]; | ||
| exclude?: string | string[]; | ||
| include?: string | string[] | undefined; | ||
| exclude?: string | string[] | undefined; | ||
| /** | ||
@@ -23,3 +23,3 @@ * for tree-shaking, properties will be declared as variables, using either `var` or `const` | ||
| */ | ||
| preferConst?: boolean; | ||
| preferConst?: boolean | undefined; | ||
| /** | ||
@@ -29,3 +29,3 @@ * specify indentation for the generated default export — defaults to '\t' | ||
| */ | ||
| indent?: string; | ||
| indent?: string | undefined; | ||
| } | ||
@@ -32,0 +32,0 @@ } |
| MIT License | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| Copyright (c) Microsoft Corporation. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
| { | ||
| "name": "@types/rollup-plugin-json", | ||
| "version": "3.0.2", | ||
| "version": "3.0.3", | ||
| "description": "TypeScript definitions for rollup-plugin-json", | ||
| "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-json", | ||
| "license": "MIT", | ||
@@ -19,3 +20,3 @@ "contributors": [ | ||
| "main": "", | ||
| "types": "index", | ||
| "types": "index.d.ts", | ||
| "repository": { | ||
@@ -31,4 +32,4 @@ "type": "git", | ||
| }, | ||
| "typesPublisherContentHash": "269b34e1adc5e288a27d23b22e4b9c1ddebc67aa826327b7fba1add6fbfea425", | ||
| "typeScriptVersion": "2.3" | ||
| "typesPublisherContentHash": "748eaa0a028e1756edd502770276a7e7c4c1cd8f54bb859483a732a57a7f7a36", | ||
| "typeScriptVersion": "3.6" | ||
| } |
@@ -5,13 +5,49 @@ # Installation | ||
| # Summary | ||
| This package contains type definitions for rollup-plugin-json ( https://github.com/rollup/rollup-plugin-json#readme ). | ||
| This package contains type definitions for rollup-plugin-json (https://github.com/rollup/rollup-plugin-json#readme). | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-json | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-json. | ||
| ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-json/index.d.ts) | ||
| ````ts | ||
| // Type definitions for rollup-plugin-json 3.0 | ||
| // Project: https://github.com/rollup/rollup-plugin-json#readme | ||
| // Definitions by: Andy Mockler <https://github.com/asmockler> | ||
| // Martin Hochel <https://github.com/hotell> | ||
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
| // TypeScript Version: 2.3 | ||
| Additional Details | ||
| * Last updated: Wed, 20 Mar 2019 18:02:09 GMT | ||
| * Dependencies: @types/rollup, @types/node | ||
| /// <reference types="node" /> | ||
| import { Plugin } from 'rollup'; | ||
| declare namespace json { | ||
| interface Options { | ||
| /** | ||
| * All JSON files will be parsed by default, but you can also specifically include/exclude files | ||
| */ | ||
| include?: string | string[] | undefined; | ||
| exclude?: string | string[] | undefined; | ||
| /** | ||
| * for tree-shaking, properties will be declared as variables, using either `var` or `const` | ||
| * @default false | ||
| */ | ||
| preferConst?: boolean | undefined; | ||
| /** | ||
| * specify indentation for the generated default export — defaults to '\t' | ||
| * @default '\t' | ||
| */ | ||
| indent?: string | undefined; | ||
| } | ||
| } | ||
| declare function json(options?: json.Options): Plugin; | ||
| export = json; | ||
| ```` | ||
| ### Additional Details | ||
| * Last updated: Thu, 08 Jul 2021 22:42:08 GMT | ||
| * Dependencies: [@types/rollup](https://npmjs.com/package/@types/rollup), [@types/node](https://npmjs.com/package/@types/node) | ||
| * Global values: none | ||
| # Credits | ||
| These definitions were written by Andy Mockler <https://github.com/asmockler>, Martin Hochel <https://github.com/hotell>. | ||
| These definitions were written by [Andy Mockler](https://github.com/asmockler), and [Martin Hochel](https://github.com/hotell). |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5242
38.68%0
-100%53
211.76%