fix(types): fix luau re-export stub logic

This commit is contained in:
Erica Marigold 2024-03-29 23:33:35 +05:30
parent 42af7620d5
commit 2da231ad42
No known key found for this signature in database
GPG key ID: 2768CC0C23D245D1

View file

@ -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,
} }