Skip to content

Commit

Permalink
Release 12.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Jun 20, 2024
1 parent fd63c91 commit 92d2525
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
14 changes: 7 additions & 7 deletions source/danger.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> = {
type Pattern = string
type Path = string
type KeyedPatterns<T> = {
readonly [K in keyof T]: Pattern[]
}
export declare type KeyedPaths<T> = {
type KeyedPaths<T> = {
readonly [K in keyof T]: Path[]
}
export declare type _MatchResult<T> = {
type _MatchResult<T> = {
readonly [K in keyof T]: boolean
}
export declare type MatchResult<T> = _MatchResult<T> & {
type MatchResult<T> = _MatchResult<T> & {
/** Returns an object containing arrays of matched files instead of the usual boolean values. */
getKeyedPaths(): KeyedPaths<T>
}
/** A vendored copy of the Chainsmoker module on NPM */
export declare type Chainsmoker<T> = (...patterns: Pattern[]) => MatchResult<T>
type Chainsmoker<T> = (...patterns: Pattern[]) => MatchResult<T>

0 comments on commit 92d2525

Please sign in to comment.