Skip to content

Declare PDF stylesheet imports for stricter typechecks - #62

Draft
roryabraham wants to merge 1 commit into
mainfrom
rory-ts71-pdf
Draft

roryabraham wants to merge 1 commit into
mainfrom
rory-ts71-pdf

Conversation

@roryabraham

Copy link
Copy Markdown
Contributor

Details

Declare the two PDF stylesheet imports so TypeScript 7.1 can check them without suppressing unresolved side-effect imports. This is preparation only; compiler dependencies stay unchanged until ts-loader and typed ESLint support 7.1.

AI checks passed: existing typecheck, declaration build, full source ESLint, changed-file Prettier, and isolated TypeScript 7.1 beta typecheck and declaration build. The example's existing build fails against its published library's missing rotation API.

Related Issues

For https://github.com/Expensify/Expensify/issues/701267

Manual Tests

No runtime change. The compiler checks both existing CSS imports; no test suite is configured.

  1. Run npm run ts and npm run build.
  2. Confirm both pass and declarations are emitted.

Linked PRs

None; no package release is requested.

@roryabraham roryabraham self-assigned this Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant