Faey
Faey
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
I don't know if this is intentional, so I thought I'd mention
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
So while Options is Partial, the contained TJSSvelteConfig is not partial
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
Oh I should mention though, partial is not nested, it only applies directly to the properties of the type it's on
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
arrived at this for now
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
No description
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
true, I could do it all in the constructor for classes where I need this
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
so it does make sense to require it to exist if the svelte settings object is created
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
this is a bit of an unsolvable though because the class property can only be optional in the constructor, if the class has a derivative that sets default options
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
now I am setting the class property twice
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
but it feels roundabout
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
No description
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
No description
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
this is the usage
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
pretty minimal as all it does is set some defaults
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
No description
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
that's the class
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
That error pops up if I then instantiate the class with the default constructor and try to pass in props
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
the class is defined in defaultOptions
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
basically, I want the application to take options some data on init
51 replies
TTyphonJS
Created by TyphonJS (Michael) on 12/12/2024 in #typhonjs-runtime
Minimal.... Nah Maximal FVTT types for TRL
But I don't think there is
51 replies