mirror of
https://github.com/0x5eal/wg-lua.git
synced 2024-12-12 12:50:36 +00:00
fix(types): fix luau re-export stub logic
This commit is contained in:
parent
42af7620d5
commit
2da231ad42
1 changed files with 3 additions and 3 deletions
|
@ -4,10 +4,10 @@ export type Keypair = {
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Wireguard = {
|
export type Wireguard = {
|
||||||
generateKeypair: () -> Keypair,
|
generateKeypair: (self: {}) -> Keypair,
|
||||||
generatePrivateKey: (privateKey: { number }) -> string,
|
generatePrivateKey: (self: {}, privateKey: { number }) -> string,
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
wireguard = require("./init.lua") :: Wireguard,
|
wireguard = require("./init.lua").wireguard :: Wireguard,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue