Skip to content

Commit

Permalink
Add missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
dansteren authored and bdemann committed Jan 19, 2024
1 parent bafce1f commit 8fb1a1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ runPropTests(CanisterArb(CanisterConfigArb));

function generateGetPreUpgradeExecutedCanisterMethod(): QueryMethod {
return {
imports: new Set(['bool', 'query', 'StableBTreeMap']),
imports: new Set(['bool', 'query', 'StableBTreeMap', 'text']),
globalDeclarations: [],
sourceCode: /*TS*/ `getPreUpgradeExecuted: query([], bool,() => {
return stable.get(PRE_UPGRADE_HOOK_EXECUTED).Some === true
Expand Down

0 comments on commit 8fb1a1f

Please sign in to comment.