We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b67c4 commit c31369bCopy full SHA for c31369b
browser-extension/src/entrypoints/content.ts
@@ -1,4 +1,4 @@
1
-import { CONFIG } from '../lib/config'
+import { CONFIG, ModeType } from '../lib/config'
2
import { logger } from '../lib/logger'
3
import { EnhancerRegistry, TextareaRegistry } from '../lib/registries'
4
import { githubPrNewCommentContentScript } from '../playgrounds/github-playground'
@@ -8,7 +8,7 @@ const enhancedTextareas = new TextareaRegistry()
8
9
export default defineContentScript({
10
main() {
11
- if (CONFIG.MODE === 'PLAYGROUNDS_PR') {
+ if (CONFIG.MODE as ModeType === 'PLAYGROUNDS_PR') {
12
githubPrNewCommentContentScript()
13
return
14
}
0 commit comments