Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Conversation

peishaofeng
Copy link
Contributor

Overview

fix compile bug while building

⠧ Compiling...  ERROR in /home/sanfo/dev/branches/grafana-statusmap/src/color_legend.ts(379,91):
  TS2339: Property 'lightTheme' does not exist on type 'User'.

build environment

  • branch: main or v0.5.x
  • node.js: v14.17.4

What this PR does / why we need it

  • add // @ts-ignore ahead of contextSrv.user.lightTheme
  • add .history into .gitignore to omit VSCode generated history files

Does this PR introduce a user-facing change?

No functional changes, just build optimization

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant