File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import { CONFIG , ModeType } from '../lib/config'
1
+ import { CONFIG , type ModeType } from '../lib/config'
2
2
import { logger } from '../lib/logger'
3
3
import { EnhancerRegistry , TextareaRegistry } from '../lib/registries'
4
4
import { githubPrNewCommentContentScript } from '../playgrounds/github-playground'
@@ -8,7 +8,7 @@ const enhancedTextareas = new TextareaRegistry()
8
8
9
9
export default defineContentScript ( {
10
10
main ( ) {
11
- if ( CONFIG . MODE as ModeType === 'PLAYGROUNDS_PR' ) {
11
+ if ( ( CONFIG . MODE as ModeType ) === 'PLAYGROUNDS_PR' ) {
12
12
githubPrNewCommentContentScript ( )
13
13
return
14
14
}
Original file line number Diff line number Diff line change 1
1
import hljs from 'highlight.js'
2
+ import { logger } from '../../lib/logger'
2
3
import OverType , { type OverTypeInstance } from '../../overtype/overtype'
3
4
import type { CommentEnhancer , CommentSpot } from '../enhancer'
4
- import { logger } from '../../lib/logger'
5
5
6
6
const GITHUB_SPOT_TYPES = [
7
7
'GH_PR_ADD_COMMENT' ,
You can’t perform that action at this time.
0 commit comments