Skip to content

Commit

Permalink
fix: ts build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle committed May 6, 2021
1 parent 6792dda commit c12f99a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { $TSContext, pathManager, PathConstants, stateManager, JSONUtilities } from 'amplify-cli-core';
import { $TSContext, $TSAny, pathManager, PathConstants, stateManager, JSONUtilities } from 'amplify-cli-core';
import _ from 'lodash';
import * as configurationManager from './configuration-manager';

Expand Down Expand Up @@ -101,7 +101,7 @@ async function initializeRootStack(context: $TSContext) {
const authRoleName = `${stackName}-authRole`;
const unauthRoleName = `${stackName}-unauthRole`;

const rootStack = JSONUtilities.readJson(initTemplateFilePath);
const rootStack = JSONUtilities.readJson<$TSAny>(initTemplateFilePath);
await prePushCfnTemplateModifier(rootStack);
// Track Amplify Console generated stacks
if (!!process.env.CLI_DEV_INTERNAL_DISABLE_AMPLIFY_APP_DELETION) {
Expand Down

0 comments on commit c12f99a

Please sign in to comment.