diff --git a/package.json b/package.json index 0753f7781..abf85b9bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "danger", - "version": "12.3.2", + "version": "12.3.3", "description": "Unit tests for Team Culture", "main": "distribution/danger.js", "typings": "distribution/danger.d.ts", diff --git a/source/danger.d.ts b/source/danger.d.ts index 7c1d873e8..351fe972f 100644 --- a/source/danger.d.ts +++ b/source/danger.d.ts @@ -1632,20 +1632,20 @@ declare const peril: PerilDSL * are wanting to introspect on whether a build has already failed. */ declare const results: DangerRuntimeContainer -export declare type Pattern = string -export declare type Path = string -export declare type KeyedPatterns = { +type Pattern = string +type Path = string +type KeyedPatterns = { readonly [K in keyof T]: Pattern[] } -export declare type KeyedPaths = { +type KeyedPaths = { readonly [K in keyof T]: Path[] } -export declare type _MatchResult = { +type _MatchResult = { readonly [K in keyof T]: boolean } -export declare type MatchResult = _MatchResult & { +type MatchResult = _MatchResult & { /** Returns an object containing arrays of matched files instead of the usual boolean values. */ getKeyedPaths(): KeyedPaths } /** A vendored copy of the Chainsmoker module on NPM */ -export declare type Chainsmoker = (...patterns: Pattern[]) => MatchResult +type Chainsmoker = (...patterns: Pattern[]) => MatchResult