@types/rollup
Advanced tools
@@ -141,5 +141,5 @@ // Type definitions for rollup 0.51 | ||
| /** A module transformer function */ | ||
| transform?(this: TransformContext, source: string, id: string): string | null | undefined | { code: string, map: SourceMap } | ||
| transform?(this: TransformContext, source: string, id: string): TransformResult | Promise<TransformResult> | ||
| /** A bundle transformer function */ | ||
| transformBundle?(source: string, options: { format: Format }): string | null | undefined | { code: string, map: SourceMap } | ||
| transformBundle?(source: string, options: { format: Format }): TransformResult | Promise<TransformResult> | ||
| /** Function hook called when bundle.generate() is being executed. */ | ||
@@ -167,2 +167,4 @@ ongenerate?(options: GenerateOptions, bundle: Bundle): void | ||
| export type TransformResult = string | null | undefined | { code: string, map: SourceMap } | ||
| /** Returns a Promise that resolves with a bundle */ | ||
@@ -169,0 +171,0 @@ export function rollup(options: Options): Promise<Bundle> |
| { | ||
| "name": "@types/rollup", | ||
| "version": "0.51.3", | ||
| "version": "0.51.4", | ||
| "description": "TypeScript definitions for rollup", | ||
@@ -28,4 +28,4 @@ "license": "MIT", | ||
| }, | ||
| "typesPublisherContentHash": "933e961c588e8bd0c540d55626006978423a996a3f1d910b736ee7d84001de76", | ||
| "typesPublisherContentHash": "fdc6aea6cf4a07edd7ac6e32bdfdc02a51f18d2881da3ac904e7e167952071c8", | ||
| "typeScriptVersion": "2.0" | ||
| } |
+1
-1
@@ -11,3 +11,3 @@ # Installation | ||
| Additional Details | ||
| * Last updated: Tue, 02 Jan 2018 18:45:52 GMT | ||
| * Last updated: Sun, 07 Jan 2018 22:18:24 GMT | ||
| * Dependencies: source-map, acorn | ||
@@ -14,0 +14,0 @@ * Global values: none |
12004
0.47%202
0.5%