upleveled / eslint-config-upleveled

UpLeveled ESLint defaults for programming in JavaScript, TypeScript, React, Next.js, Node.js, Postgres.js
https://www.npmjs.com/package/eslint-config-upleveled
42 stars 12 forks source link

Create images TS types for Expo `import` in images.d.ts #450

Closed karlhorky closed 3 weeks ago

karlhorky commented 3 weeks ago

Expo allows usage import for importing images, but does not yet have types for paths which use common image formats.

Add a file images.d.ts which contains Type Declarations for common image formats, inspired by the global.d.ts file from Next.js.

codesandbox-ci[bot] commented 3 weeks ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.