You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
e.g. import { getProposalInfo, saveProposalInfo } from "./proposal-info"; in a file in the scripts folder.
Trying to import a function from another script gives the error
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './proposal-info.js'?ts(2835)
Changing from nodenext to bundler doesn't help either because it seems to break other thing nodenext is being used for.
This typescript stuff is super unclear. But trying to note the issue anyway.
The text was updated successfully, but these errors were encountered:
e.g.
import { getProposalInfo, saveProposalInfo } from "./proposal-info";
in a file in the scripts folder.Trying to import a function from another script gives the error
Changing from
nodenext
tobundler
doesn't help either because it seems to break other thingnodenext
is being used for.This typescript stuff is super unclear. But trying to note the issue anyway.
The text was updated successfully, but these errors were encountered: