diff --git a/scaffolds/hasura/scaffold.tsx b/scaffolds/hasura/scaffold.tsx index 76ac96e..014a011 100644 --- a/scaffolds/hasura/scaffold.tsx +++ b/scaffolds/hasura/scaffold.tsx @@ -3,7 +3,7 @@ import { Template, Zombi } from 'compiled/zombi'; import { createScaffold } from 'cli/utils/scaffold-helpers'; import { mergePrompts } from 'cli/utils/merge-prompts'; import { NpmClientPrompt, PublishableApiKeyPrompt, SecretApiKeyPrompt } from 'scaffolds/prompts'; -import crypto = require('crypto'); +import crypto from 'crypto'; type HasuraData = NpmClientPrompt.Data & PublishableApiKeyPrompt.Data &