File tree 2 files changed +2
-11
lines changed
2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ interface CreateInterfaceRequestParams {
6
6
uri : string ;
7
7
}
8
8
9
- let createInterfaceRequest = new RequestType <
9
+ export const createInterfaceRequest = new RequestType <
10
10
CreateInterfaceRequestParams ,
11
11
string ,
12
12
void
Original file line number Diff line number Diff line change 1
1
import * as fs from "fs" ;
2
2
import { LanguageClient , RequestType } from "vscode-languageclient/node" ;
3
3
import { window } from "vscode" ;
4
-
5
- interface CreateInterfaceRequestParams {
6
- uri : string ;
7
- }
8
-
9
- let createInterfaceRequest = new RequestType <
10
- CreateInterfaceRequestParams ,
11
- string ,
12
- void
13
- > ( "rescript-vscode.create_interface" ) ;
4
+ import { createInterfaceRequest } from "./create_interface"
14
5
15
6
export const switchImplIntf = async ( client : LanguageClient ) => {
16
7
if ( ! client ) {
You can’t perform that action at this time.
0 commit comments