Skip to content

Commit b395540

Browse files
committed
Update imports.
1 parent 3834d1d commit b395540

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

browser-extension/src/lib/enhancer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { OverTypeInstance } from '../overtype/overtype'
1+
import type { OverTypeInstance } from 'overtype'
22

33
/**
44
* Stores enough info about the location of a draft to:

browser-extension/src/lib/enhancers/github/githubIssueAddComment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import OverType, { type OverTypeInstance } from '../../../overtype/overtype'
1+
import OverType, { type OverTypeInstance } from 'overtype'
22
import type { CommentEnhancer, CommentSpot } from '../../enhancer'
33
import { logger } from '../../logger'
44
import { modifyDOM } from '../modifyDOM'

browser-extension/src/lib/enhancers/github/githubPRAddComment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import OverType, { type OverTypeInstance } from '../../../overtype/overtype'
1+
import OverType, { type OverTypeInstance } from 'overtype'
22
import type { CommentEnhancer, CommentSpot } from '../../enhancer'
33
import { logger } from '../../logger'
44
import { modifyDOM } from '../modifyDOM'

browser-extension/src/lib/registries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { OverTypeInstance } from '../overtype/overtype'
1+
import type { OverTypeInstance } from 'overtype'
22
import type { CommentEnhancer, CommentSpot } from './enhancer'
33
import { GitHubIssueAddCommentEnhancer } from './enhancers/github/githubIssueAddComment'
44
import { GitHubPRAddCommentEnhancer } from './enhancers/github/githubPRAddComment'

browser-extension/src/playgrounds/github-playground.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import hljs from 'highlight.js'
2-
import OverType from '../overtype/overtype'
2+
import OverType from 'overtype'
33

44
export function githubPrNewCommentContentScript() {
55
if (window.location.hostname !== 'github.com') {

browser-extension/tests/har-fixture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { vi } from 'vitest'
22

33
// Mock the OverType editor component
4-
vi.mock('../src/overtype/overtype', () => {
4+
vi.mock('overtype', () => {
55
const mockConstructor = vi.fn().mockImplementation(() => [
66
{
77
container: document.createElement('div'),

0 commit comments

Comments
 (0)