Skip to content
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

assetPrefix field missing in typescript #33574

Closed
2 tasks done
tonyhallett opened this issue Oct 18, 2021 · 0 comments · Fixed by #33575
Closed
2 tasks done

assetPrefix field missing in typescript #33574

tonyhallett opened this issue Oct 18, 2021 · 0 comments · Fixed by #33575
Labels
topic: TypeScript Issues and PRs related to TS in general, public typings or gatsby-plugin-typescript type: bug An issue or pull request relating to a bug in Gatsby

Comments

@tonyhallett
Copy link
Contributor

Preliminary Checks

Description

The interface for gatsby config is missing the assetPrefix

Reproduction Link

mapping?: Record<string, string>

Steps to Reproduce

  1. Try to use the missing field in typescript

...

Expected Result

For it to be in the typescript definitions.

Actual Result

It is not in the typescript definitions

Environment

System:
    OS: Windows 10 10.0.19042
    CPU: (8) x64 Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
  Binaries:
    Node: 16.7.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.21.0 - C:\Program Files\nodejs\yarn.CMD
    npm: 7.21.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (94.0.992.50)
  npmGlobalPackages:
    gatsby-cli: 3.14.0
    gatsby-dev-cli: 3.14.0

Config Flags

No response

@tonyhallett tonyhallett added the type: bug An issue or pull request relating to a bug in Gatsby label Oct 18, 2021
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Oct 18, 2021
@LekoArts LekoArts added topic: TypeScript Issues and PRs related to TS in general, public typings or gatsby-plugin-typescript and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: TypeScript Issues and PRs related to TS in general, public typings or gatsby-plugin-typescript type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants