We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Running npx -p typescript tsc index.mjs --declaration --allowJs --emitDeclarationOnly end in the following error:
npx -p typescript tsc index.mjs --declaration --allowJs --emitDeclarationOnly
node_modules/@oddbird/css-anchor-positioning/dist/polyfill.d.ts(17,72): error TS2304: Cannot find name 'AnchorPositioningPolyfillOptions'. tsc exited with code 2
Running the same command worked fine with v0.2.0
Additional context The tsconfig.json
tsconfig.json
{ "compilerOptions": { "target": "ES2020", "experimentalDecorators": true, "useDefineForClassFields": false, "module": "ESNext", "lib": ["ES2020", "DOM", "DOM.Iterable"], "skipLibCheck": true, /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, /* Linting */ "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true, /* Project */ "declaration": true, "declarationMap": true, "sourceMap": true, "inlineSources": true, "rootDir": "./src", "outDir": "./dist/", /* Custom */ "noImplicitReturns": true, "noImplicitAny": true, "noImplicitThis": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noImplicitOverride": true, "plugins": [ { "name": "ts-lit-plugin", "strict": true } ] }, "include": ["src"] }
The text was updated successfully, but these errors were encountered:
@Th3S4mur41 Thanks! Fixed in v0.3.1.
Sorry, something went wrong.
jgerigmeyer
Successfully merging a pull request may close this issue.
Describe the bug
Running
npx -p typescript tsc index.mjs --declaration --allowJs --emitDeclarationOnly
end in the following error:node_modules/@oddbird/css-anchor-positioning/dist/polyfill.d.ts(17,72): error TS2304: Cannot find name 'AnchorPositioningPolyfillOptions'. tsc exited with code 2
Running the same command worked fine with v0.2.0
Additional context
The
tsconfig.json
The text was updated successfully, but these errors were encountered: