UNPKG
lean4-code-actions
Version:
latest (1.1.32)
1.1.32
Refactorings and snippets for Lean 4
lean4-code-actions
/
src
/
utils
/
LeanExtension.ts
17 lines
(12 loc)
•
286 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/** * These are partial types */
export
interface
LeanClient
{
sendRequest
:
(
method
:
string
,
params
:
unknown
) =>
Promise
<
unknown
> }
export
interface
LeanClientProvider
{
getActiveClient
:
() =>
LeanClient
}
export
interface
LeanExports
{
clientProvider
:
LeanClientProvider
}