text stringlengths 14 100k | source stringclasses 1
value | repo stringclasses 810
values | language stringclasses 13
values |
|---|---|---|---|
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil <|fim_suffix|>/ This file is automatically generated. DO NOT EDIT
/**
* An exported but internal model.
* @typedef {Object} InternalModel
* @property {string} Field
*/
/**
* An unexported model.
* @typedef {Object} unexportedModel
* @property {string} Field
*/... | fim | wailsapp/wails | javascript |
<|fim_suffix|>"./models.js";
/**
* @typedef {$models.Dummy} Dummy
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is autom<|fim_middle|>atically generated. DO NOT EDIT
import * as $models from <|endoftext|> | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* @typedef { {
* } } Dummy
*/
// In interface mode, this file is likely to contain just comments.
// We add a dummy export statement to ensure it is recognised as an ES module.
export {}... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise<|fim_suffix|>ring} $0
* @returns {$Cancellab... | fim | wailsapp/wails | javascript |
<|fim_prefix|>import { CustomM<|fim_suffix|>
CustomMethod("everywhere");
<|fim_middle|>ethod } from "./service.js";
<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>ce.js";
CustomMethod("everywhere again");
<|fim_prefix|>import { C<|fim_middle|>ustomMethod } from "./servi<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>;
CustomMethod("Interfaces");
<|fim_prefix|>import { CustomMethod } fr<|fim_middle|>om "./service.js"<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|> "./service.js";
CustomMethod("JS");
<|fim_prefix|>import { Custo<|fim_middle|>mMethod } from<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>;
<|fim_prefix|>import {<|fim_middle|> CustomMethod } from "./service.js";
CustomMethod("JS Interfaces")<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* An unexported service.
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-t<|fim_suffix|>ignore: Unused imports
import * as $models from "./models.js";
/**
... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwy<|fim_suffix|>atically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_middle|>d y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is autom<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @t<|fim_suffix|> return $Call.ByName("main.GreetService.Greet", name, title);
}
/**
* NewPerson creates... | fim | wailsapp/wails | javascript |
<|fim_suffix|>/**
* Person represents a person
* @typedef {$models.Person} Person
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
export {<|f... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* Age<|fim_suffix|>orn: 0,
Teenager: 12,
YoungAdult: 18,
/**
* Oh no, some grey hair!
*/
MiddleAged: 50,
/**
* Unbelievable!
*/
M... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetServic<|fim_suffix|>es XYZ
* @param {string} name
* @param {services$0.Title} title
* @returns {$CancellablePromise<string>}
*/
export function Greet(name, title) {... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
//<|fim_suffix|>s automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_middle|> This file i<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>ed. DO NOT EDIT
export {
Title
} from "./models.js";
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil ho<|fim_middle|>n yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generat<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL<|fim_suffix|>omments.
// We add a dummy export statement to ensure it is recognised as an ES module.
export {};
<|fim_middle|>
// This file is automatically generated. DO NOT EDIT
/**
* @readonly
* @enum {string}
*/
export const T... | fim | wailsapp/wails | javascript |
<|fim_suffix|>("main.EnumMapService.GetOptionalEnumMap");
}
/**
* GetPersonsByStatus returns a map with enum keys to struct values
* @returns {$CancellablePromise<{ [_ in $models.Status]?: $models.Person[] | null } | null>}
*/
export function GetPersonsByStatus() {
return $Call.ByName("main.EnumMapService.GetPe... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as EnumMapService from "./enummapservice.js";
export {
EnumMapService
};
export {
Color,
Priority,
Status
} from "./models.js";
import * as $models from "./models.js";... | fim | wailsapp/wails | javascript |
<|fim_suffix|>* @enum {string}
*/
export const Status = {
/**
* The Go zero value for the underlying type of the enum.
*/
$zero: "",
StatusPending: "pending",
StatusRunning: "running",
StatusCompleted: "completed",
StatusFailed: "failed",
};
// In interface mode, this file is likely... | fim | wailsapp/wails | javascript |
<|fim_suffix|>omeClass renders as a TS class.
* @typedef {$models.SomeClass} SomeClass
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIW<|fim_middle|>CH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as $models from "./models.js";
/**
* S<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>obindingshere$0.HowDifferent<number>} Meadow
*/
// In interface mode, this file is likely to contain just comments.
// We add a dummy export statement to ensure it is recognised as an ES module.
export {};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetServi<|fim_suffix|>ed imports
import * as $models from "./models.js";
/**
* Greet does XYZ
* @param {string} name
* @returns {$CancellablePromise<string>}
*/
expor... | fim | wailsapp/wails | javascript |
<|fim_suffix|>reetService from "./greetservice.js";
export {
GreetService
};
import * as $models from "./models.js";
/**
* Person is a person
* @typedef {$models.Person} Person
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This <|fim_middle|>file is automatically g... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDI<|fim_suffix|>my export statement to ensure it is recognised as an ES module.
export {};
<|fim_middle|>WCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-<|fim_suffix|> awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as OtherService from "./otherservice.js";
export {
OtherService
};
import * as $models from "./models.js";
/**
* @typedef {$models.Address} Address
*/
<|fim_middle|>check
// Cynhyrchwy... | fim | wailsapp/wails | javascript |
<|fim_suffix|>e.
export {};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn<|fim_middle|> awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* @typedef {Object} Address
* @property {string} Street
* @property {string} State
* @property {string} Country
*/
// In interfa... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ff<|fim_suffix|> imports
import * as $models from "./models.js";
/**
* Yay does this and that
* @returns {$CancellablePromise<$models.Address | null>}
*/
export function Yay() {
return $Call.ByName("github.com/wailsapp/wails/v3/internal/generator/testcases/function_fr... | fim | wailsapp/wails | javascript |
<|fim_suffix|>Call, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as $models from "./models.js";
/**
* Greet does XYZ
* @param {string} name
* @returns {$CancellablePromise<string>}
*/
expo... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is a<|fim_suffix|>ort * as $models from "./models.js";
/**
* @typedef {$models.Person} Person
*/
<|fim_middle|>utomatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetS... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as other$0 from "./services/other/models.j<|fim_suffix|>nts.
// We add a dummy ... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ice
};
import * as $models from "./models.js";
/**
* @typedef {$models.Address} Address
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatic<|fim_middle|>ally generated. DO NOT EDIT
import * as OtherService from "./otherservice.js";
export... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomati<|fim_suffix|>file is automatically generated. DO NOT EDIT
/**
* @typedef {Object} Address
* @property {string} Street
* @property {string} State
* @property {string} Country
*/
// In interface mode, this file is likely to contain just comments.
//... | fim | wailsapp/wails | javascript |
<|fim_suffix|> * @returns {$CancellablePromise<$models.Address | null>}
*/
export function Yay() {
return $Call.ByName("github.com/wailsapp/wails/v3/internal/generator/testcases/function_from_nested_imported_package/services/other.OtherService.Yay");
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtom... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";
/**
* ... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise ... | fim | wailsapp/wails | javascript |
<|fim_suffix|>T EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO N<|fim_middle|>O<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file<|fim_suffix|>ne @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";
/**
* Greet someone
* @param {string} name
... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MOD<|fim_suffix|>GreetService
};
<|fim_middle|>IWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically <|fim_suffix|>e: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";
/**
* Greet someone
* @param {string} name
* @returns {$CancellablePromise... | fim | wailsapp/wails | javascript |
<|fim_suffix|>yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd<|fim_middle|> y ffeil hon <|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as Service from "./service.js";
export {
Service
};
import * as $models from "./models.js";
/**
* @typedef {$models.EmbeddedCustomInterface<|fim_suffix|>,X,Y,Z
* @... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* @typedef {string} EmbeddedCustomInterface
*/
/**
* @typedef {string} E<|fim_suffix|>* @property {{ [_ in string]?: number } | null} GARPtr - Soft reject
* @property {{ [... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. <|fim_suffix|>ler | null>>}
*/
export function Method() {
return $Call.ByName("main.Service.Method");
}
<|fim_middle|>PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-com... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ointerMarshaler
*/
/**
* string
* @typedef {$models.PointerTextMarshaler} PointerTextMarshaler
*/
/**
* any
* @typedef {$models.UnderlyingJsonMarshaler} UnderlyingJsonMarshaler
*/
/**
* any
* @typedef {$models.UnderlyingMarshaler} UnderlyingMarshaler
*/
/**
* string
* @typedef {$models.Und... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as encoding$0 from "../../../../../../../../encoding/models.js";
// eslint-disa... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PE<|fim_suffix|>This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn a<|fim_suffix|>ods
};
import * as $models from "./models.js";
/**
* HowDifferent is a curious kind of person
* that lets other people decide how they are different.
* @template How
* @typedef {$models.HowDifferent<How>} HowDifferent
*/
/**
* Impersonator... | fim | wailsapp/wails | javascript |
<|fim_suffix|> this file is likely to contain just comments.
// We add a dummy export statement to ensure it is recognised as an ES module.
export {};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is aut<|fim_suffix|>NOT EDIT
import * as $models from "./models.js";
/**
* StringPtr is a nullable string.
* @typedef {$models.StringPtr} StringPtr
*/
<|fim_middle|>omatically generated. DO <|endoftext|> | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* StringPtr is a nullable string.
* @typedef {string | null} StringPtr
*/
// In interface mode, this file is likely to contain just comments.
// We add a dummy export statement to ensure... | fim | wailsapp/wails | javascript |
<|fim_suffix|>s.js";
/**
* OtherPerson is like a person, but different.
* @template T
* @typedef {$models.OtherPerson<T>} OtherPerson
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as OtherMethods from "./other... | fim | wailsapp/wails | javascript |
<|fim_suffix|>any differences.
*/
// In interface mode, this file is likely to contain just comments.
// We add a dummy export statement to ensure it is recognised as an ES module.
export {};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated.... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* OtherMethods has another method, but through a private embedded type.
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imp... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automat<|fim_suffix|>pt-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";
// eslint-disable-next-line @typescript-eslint/... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ablePromise<void>}
*/
export function LikeThisOtherOne() {
return $Call.ByName("main.EmbedOther.LikeThisOtherOne");
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* EmbedOther is even trickier.
* @mod... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* EmbedService is tricky.
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromis... | fim | wailsapp/wails | javascript |
<|fim_suffix|>n Greet($0) {
return $Call.ByName("main.GreetService.Greet", $0);
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ba... | fim | wailsapp/wails | javascript |
<|fim_suffix|>rom "./embedother.js";
import * as EmbedService from "./embedservice.js";
import * as GreetService from "./greetservice.js";
export {
EmbedOther,
EmbedService,
GreetService
};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically ge... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";
/**
* ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT<|fim_suffix|>eetService,
OtherService
};
<|fim_middle|> EDIT
import * as GreetService from "./greetservice.js";
import * as OtherService from "./otherservice.js";
export {
Gr<|e... | fim | wailsapp/wails | javascript |
<|fim_suffix|>function Hello() {
return $Call.ByName("main.OtherService.Hello");
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automati<|fim_middle|>cally generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Un... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// <|fim_suffix|>import { Call as $Call, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";
/**
* @param {string} name
* @returns {$CancellablePromise<string>}
*/
export function Greet(name) {
return $Call.ByName("main.GreetService.Greet", name);
}
<|fim_middle|>Cyn... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
import * as OtherService from "./otherservice.js";
export {
GreetService,
OtherService
};
<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $CancellablePromise } from "/wails/runtime.js";
/**
* @returns {$CancellableProm... | fim | wailsapp/wails | javascript |
<|fim_suffix|>@returns {$CancellablePromise<$models.Person | null>}
*/
export function NewPerson(name) {
return $Call.ByName("main.GreetService.NewPerson", name);
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* Gre... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
import * as $models from "./models.js";
/**
* @typedef {$models.Person} Person
*/
<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// <|fim_suffix|>@typedef {Object} Person
* @property {string} Name
* @property {services$0.Address | null} Address
*/
// In interface mode, this file is likely to contain just comments.
// We add a dummy export statement to ensure it is recognised as an ES module.
export {};
<|fim_middle... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ress} Address
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as OtherService from "./otherservice.js";
export {
OtherService
};
im<|fim_middle|>port * as $models from "./models.js";
/**
* @type... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtom<|fim_suffix|>erated. DO NOT EDIT
/**
* @typedef {Object} Address
* @property {string} Street
* @property {string} State
* @property {string} Country
*/
// In interface mode, this file is likely to contain just comments.
// We add a dummy export state... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil h<|fim_suffix|>ncellablePromise } from "/wails/runtime.js";
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import * as $models from "./models.js";
/**
* Yay does this and that
* @returns {$CancellablePromise<$models.Addre... | fim | wailsapp/wails | javascript |
<|fim_suffix|>, $in);
}
/**
* @param {number} $in
* @returns {$CancellablePromise<number>}
*/
export function UInt32InUIntOut($in) {
return $Call.ByName("main.GreetService.UInt32InUIntOut", $in);
}
/**
* @param {number | null} $in
* @returns {$CancellablePromise<number | null>}
*/
export function UInt32Poin... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd <|fim_suffix|>rt * as GreetService from "./greetservice.js";
export {
GreetService
};
import * as $models from "./models.js";
/**
* @typedef {$models.Person} Person
*/
<|fim_middle|>y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffe<|fim_suffix|>reet": string}}} Details
*/
// In interface mode, this file is likely to contain just comments.
// We add a dummy export statement to ensure it is recognised as an ES module.
export {};
<|fim_middle|>il hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is au... | fim | wailsapp/wails | javascript |
// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Call, CancellablePromise as $Cancellabl... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetService from "./greetservice.js";
export {
GreetService
};
import * as $models fro<|fim_suffix|>s";
/**
* @typedef {$models.Person} Person
*/
<|fim_middle|... | fim | wailsapp/wails | javascript |
<|fim_suffix|>{"Age": number, "Address": {"Street": string}}} Details
*/
// In interface mode, this file is likely to contain just comments.
// We add a dummy export statement to ensure it is recognised as an ES module.
export {};
<|fim_prefix|>// @ts-check
// Cynh<|fim_middle|>yrchwyd y ffeil hon yn awtomatig. PEIDI... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This fil<|fim_suffix|>lds a field for every fundamental Go-to-TS type mapping.
* @typedef {$models.AllTypes} AllTypes
*/
/**
* @template T
* @typedef {$models.GenericType<T>} GenericType
*/
<|fim_middle|>e is automatically ge... | fim | wailsapp/wails | javascript |
<|fim_suffix|>32
* @property {number} Float64
* @property {number} Byte
* @property {number} Rune
* @property {string | null} ByteSlice - maps to string (base64)
* @property {(string | null)[] | null} Bytes2D
* @property {string[] | null} SliceStr
* @property {number[]} ArrInt4
* @property {{ [_ in string]?: nu... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// <|fim_suffix|>enerated. DO NOT EDIT
/**
* TypeMappingService is a service for testing type mappings.
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Call as $Ca... | fim | wailsapp/wails | javascript |
<|fim_suffix|>turn $Call.ByName("main.GreetService.Greet", name);
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT ED<|fim_middle|>IT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT<|fim_suffix|>./greetservice.js";
export {
GreetService
};
<|fim_middle|>
import * as GreetService from "<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automati<|fim_suffix|>ePromise<string>}
*/
export function Greet(name) {
return $Call.ByName("main.GreetService.Greet", name);
}
<|fim_middle|>cally generated. DO NOT EDIT
/**
* GreetService is great
* @module
... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ice from "./greetservice.js";
export {
GreetService
};
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as GreetS<|fim_middle|>erv<|endoftext|> | fim | wailsapp/wails | javascript |
<|fim_suffix|>.NewPerson", name);
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* GreetService is great
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import ... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ort * as $models from "./models.js";
/**
* Person is a person!
* They have a name and an address
* @typedef {$models.Person} Person
*/
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon<|fim_middle|> yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as ... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @types<|fim_suffix|> a dummy export statement to ensure it is recognised as an ES module.
export {};
<|fim_middle|>cript-eslint/ban-ts-comment
// @ts-ig... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as OtherService from "./otherservice.js";
export {
OtherService
};
import * as $models <|fim_suffix|> Address
*/
<|fim_middle|>from "./models.js";
/**
* @typedef {... | fim | wailsapp/wails | javascript |
<|fim_suffix|>IWL
// This file is automatically generated. DO NOT EDIT
/**
* @typedef {Object} Address
* @property {string} Street
* @property {string} State
* @property {string} Country
*/
// In interface mode, this file is likely to contain just comments.
// We add a dummy export statement to ensure it is reco... | fim | wailsapp/wails | javascript |
<|fim_suffix|>ion/services.OtherService.Yay");
}
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
/**
* OtherService is a struct
* that does things
* @module
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
/... | fim | wailsapp/wails | javascript |
<|fim_prefix|>// @ts-check
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
import * as $models from "./models.js";
/**
* A Time represents an instant in time with nanosecond precision.
*
* Programs using times should typically store and pass them as ... | fim | wailsapp/wails | javascript |
<|fim_suffix|>t = t.Round(0). In general, prefer t.Equal(u)
* to t == u, since t.Equal uses the most accurate comparison available and
* correctly handles the case when only one of its arguments has a monotonic
* clock reading.
* @typedef {any} Time
*/
// In interface mode, this file is likely to contain just com... | fim | wailsapp/wails | javascript |
<|fim_suffix|>MODIWL
// This file is automatically generated. DO NOT EDIT
export type {
TextMarshaler
} from "./models.js";
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtom<|fim_middle|>atig. PEIDIWCH Â <|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is autom<|fim_suffix|>ted. DO NOT EDIT
export type {
Marshaler
} from "./models.js";
<|fim_middle|>atically genera<|endoftext|> | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
<|fim_suffix|>t-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
/**
* Marshaler is the interface implemented by type... | fim | wailsapp/wails | typescript |
<|fim_prefix|>// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
// This file is automatically generated. DO NOT EDIT
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: Unused imports
import { Create as $Create } from "/wails/runtime.js";
/**
* TextMarshaler is the<|fim_suffix|> an ... | fim | wailsapp/wails | typescript |
<|fim_prefix|>//<|fim_suffix|>o_bindings_here/more/models.js";
function configure() {
Object.freeze(Object.assign($Create.Events, {
"events_only:class": $$createType0,
"events_only:map": $$createType2,
"events_only:other": $$createType3,
"overlap": $$createType6,
}));
}
// Priv... | fim | wailsapp/wails | typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.