Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Jan 17, 2025
1 parent 16078a5 commit caca051
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/build/experimental/commands/compile/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function getPrelude(main: string): string {
import { ethers } from 'ethers';
ethers.FetchRequest.registerGetUrl(ethersGetUrl);
import { IDL, idlToString, getDefaultVisitorData } from 'azle';
import { getDefaultVisitorData, IDL, idlToString } from 'azle';
export { Principal } from '@dfinity/principal';
import * as Canister from './${main}';
Expand Down
2 changes: 1 addition & 1 deletion src/build/stable/commands/compile/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function getPrelude(main: string): string {
return /*TS*/ `
import 'azle/src/lib/stable/globals';
import { IDL, idlToString, getDefaultVisitorData } from 'azle';
import { getDefaultVisitorData, IDL, idlToString } from 'azle';
import * as Canister from './${main}';
Expand Down
4 changes: 2 additions & 2 deletions src/lib/stable/canister_methods/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ export interface ExportedCanisterClass {
_azleCanisterMethodIdlTypes?: { [key: string]: IDL.FuncClass };
_azleCanisterMethodsIndex?: number;
_azleInitAndPostUpgradeIdlTypes?: IDL.Type[];
_azleDefinedSystemMethods?: SystemMethods;
_azleDefinedSystemMethods?: DefinedSystemMethods;
_azleMethodMeta?: MethodMeta;
_azleShouldRegisterCanisterMethods?: boolean;
}

type SystemMethods = {
type DefinedSystemMethods = {
init: boolean;
postUpgrade: boolean;
preUpgrade: boolean;
Expand Down

0 comments on commit caca051

Please sign in to comment.