GithubHelp home page GithubHelp logo

wails-react-template's People

Contributors

flin7 avatar jordanella avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jordanella

wails-react-template's Issues

Uncaught (in promise) invalid character ':' after top-level value

Using the latest beta version with your lovely boilerplate (v2.0.0-beta.34). There seems to be an error Uncaught (in promise) invalid character ':' after top-level value

This seems to apply potentially around this line.

window.go.controllers.VersionController.Check().then((data) => {......

and my file looks like this for the bindings.d.ts

import * as models from './models';

export interface go {
  "controllers": {
    "BuildController": {
		BuildStep1(arg1:string,arg2:string,arg3:string,arg4:string,arg5:any,arg6:any,arg7:any,arg8:any,arg9:string,arg10:string):Promise<void>
		BuildStep2(arg1:string,arg2:string,arg3:string,arg4:string,arg5:any,arg6:any,arg7:any,arg8:any,arg9:string,arg10:string):Promise<void>
		DomReady(arg1:models.Context):Promise<void>
		Shutdown(arg1:models.Context):Promise<void>
    },
    "ValidationController": {
		PreFlightChecks(arg1:string,arg2:string,arg3:string,arg4:string,arg5:string,arg6:string):Promise<models.PreFlight>
    },
    "VersionController": {
		Check():Promise<models.Version|Error>
    },
    "WelcomeController": {
		FetchStorage():Promise<models.Storage>
		Welcome():Promise<models.WelcomeResponse|Error>
    },
  }

}

declare global {
	interface Window {
		go: go;
	}
}

I'm not sure if this is wails issue or potentially here due to the upgrade, if I can apply any more details please let me know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.