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
i'm getting the error Assertions require every name in the call target to be declared with an explicit type annotation.. i'm using typescript 4.7.3 with module: 'nodenext'
const { invariant } = await import('ts-invariant');
const { merge } = await import('merge-anything');
export const ethersOverride = (context: IEthersContext, options: TOverride): Readonly<TEthersAdaptor> => {
// check if there is an override
if (options.adaptorEnabled) {
invariant(
options.alternateContextKey == null,
'You cannot use both contextOverride and contextKey at the same time'
);
return options.adaptor ?? {};
Í;
}
return asEthersAdaptor(context);
};
The text was updated successfully, but these errors were encountered:
i'm getting the error
Assertions require every name in the call target to be declared with an explicit type annotation.
. i'm using typescript 4.7.3 with module: 'nodenext'The text was updated successfully, but these errors were encountered: