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 = {
|
||||
generateKeypair: () -> Keypair,
|
||||
generatePrivateKey: (privateKey: { number }) -> string,
|
||||
generateKeypair: (self: {}) -> Keypair,
|
||||
generatePrivateKey: (self: {}, privateKey: { number }) -> string,
|
||||
}
|
||||
|
||||
return {
|
||||
wireguard = require("./init.lua") :: Wireguard,
|
||||
wireguard = require("./init.lua").wireguard :: Wireguard,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue