-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript support is broken #16
Comments
I don't know if this is related, but with this code const controller = new AbortController()
const signal:AbortSignal = controller.signal;
const timeout = setTimeout(() => {
controller.abort();
}, 15000);
const res = await fetch(`https://api.keygen.sh/v1/accounts/${KEYGEN_ACCOUNT_ID}/licenses/actions/validate-key`, {
method: 'POST',
signal: signal,
headers: {
'Content-Type': 'application/vnd.api+json',
'Accept': 'application/vnd.api+json'
},
body: JSON.stringify({
meta: {
scope: { product: KEYGEN_PRODUCT_ID },
key: license_key
}
}),
}) I get the following error:
Just installed latest version of abort-controller and tsc Version 3.3.3333. |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like after rewrite to TypeScript
"types"
key inpackage.json
was lost, which is necessary for be useful in TypeScript.The text was updated successfully, but these errors were encountered: