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 have tried to use spectorjs from Safari in my TypeScript project,
so I installed the spectorjs package from npm.
However, the type definition of the package is not exposed.
I think there is no risk to expose the type definition.
Workaround
Having spectorjs.d.ts with the content below will make the example work:
declare module 'spectorjs' {
class Spector {
constructor();
public displayUI(): void;
}
}
The text was updated successfully, but these errors were encountered:
Description
I have tried to use spectorjs from Safari in my TypeScript project,
so I installed the
spectorjs
package from npm.However, the type definition of the package is not exposed.
I think there is no risk to expose the type definition.
Workaround
Having
spectorjs.d.ts
with the content below will make the example work:The text was updated successfully, but these errors were encountered: