Skip to content

Commit

Permalink
change require to import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
hereistheusername committed Jul 7, 2024
1 parent b9775a3 commit 80157a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { fromVsCodeUri, toVsCodeRange } from '../../utils/vsc-utils';
import { ResourceParser } from '../../core/model/note';
import { IMatcher } from '../../core/services/datastore';
import { convertLinkFormat } from '../../core/janitor';
const vscode = require('vscode'); /* cannot import workspace from above statement and not sure what happened */
import * as vscode from 'vscode';

type LinkFormat = 'wikilink' | 'link';

Expand Down

0 comments on commit 80157a6

Please sign in to comment.