Skip to content

Commit cb48e59

Browse files
committed
ts fixes
1 parent c4aae68 commit cb48e59

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/aws-cdk/lib/legacy-aws-auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function cached<A extends object, B>(obj: A, sym: symbol, fn: () => B): B
2525
* @deprecated
2626
*/
2727
export interface ContextProviderPlugin {
28-
getValue(args: {[key: string]: any}): Promise<any>;
28+
getValue(args: { [key: string]: any }): Promise<any>;
2929
}
3030

3131
/**

packages/aws-cdk/lib/legacy-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @deprecated
33
*/
4-
export type Obj<T> = {[key: string]: T};
4+
export type Obj<T> = { [key: string]: T };
55

66
/**
77
* @deprecated

packages/aws-cdk/test/_helpers/jest-bufferedconsole.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default class TestEnvironment extends NodeEnvironment implements JestEnvi
9999
type TestDescription = PartialBy<Pick<Circus.TestEntry, 'name' | 'parent'>, 'parent'>;
100100

101101
// Utility type to make specific fields optional
102-
type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>
102+
type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
103103

104104
function fullTestName(test: TestDescription) {
105105
let ret = test.name;

0 commit comments

Comments
 (0)