mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-01 21:13:11 +00:00
feat: Utils to do bindLan and have ipv4 and ipv6 if need be
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { _ } from "../../util";
|
||||
import { _ } from "../../util"
|
||||
export class IBuilder<A> {
|
||||
protected constructor(readonly a: A) {}
|
||||
|
||||
public build(): A {
|
||||
return this.a;
|
||||
return this.a
|
||||
}
|
||||
}
|
||||
|
||||
export type BuilderExtract<A> = A extends IBuilder<infer B> ? B : never;
|
||||
export type BuilderExtract<A> = A extends IBuilder<infer B> ? B : never
|
||||
|
||||
Reference in New Issue
Block a user