Skip to content

Commit

Permalink
Fix two type visibility errors (#532)
Browse files Browse the repository at this point in the history
These types should have been exported since the functions that use
them are exported. This started failing my build all of a sudden.
  • Loading branch information
rix0rrr authored and RomainMuller committed Aug 9, 2018
1 parent 98f57c3 commit 0842c3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk/lib/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function data(fmt: string, ...args: any[]) {
console.log(util.format(fmt, ...args));
}

type LoggerFunction = (fmt: string, ...args: any[]) => void;
export type LoggerFunction = (fmt: string, ...args: any[]) => void;

/**
* Create a logger output that features a constant prefix string.
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk/lib/renames.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import cxapi = require('@aws-cdk/cx-api');
import util = require('@aws-cdk/util');

type RenameTable = {[key: string]: string};
export type RenameTable = {[key: string]: string};

/**
* A class used to maintain a set of rename directives
Expand Down

0 comments on commit 0842c3d

Please sign in to comment.