Git Product home page Git Product logo

rbxts-fabric's Introduction

rbxts-fabric's People

Contributors

suyoin avatar ukendio avatar

Stargazers

 avatar

Watchers

 avatar

rbxts-fabric's Issues

Members of Reducers and Symbol do not appear in intellisense in new project

In a new project with no previous imports from Reducers or Symbol, exports from these definition files do not appear in the intellisense.

import { } from "@rbxts/fabric/src/FabricLib/Fabric/Operators/Reducers";
import { named } from "@rbxts/fabric/src/FabricLib/Shared/Symbol";

Whatever handles the intellisense does not randomly look in package subdirectories to look for definition files.

Support for Roact addon

I believe augmenting the @rbxts/roact types like

declare global {
	namespace JSX {
		interface IntrinsicAttributes {
			[key in keyof FabricUnits]: FabricUnit<key>["data"];
		}
	}
}

would work.

Writing a unit interface does not provide intellisense for UnitDefinition properties

Given this sample,

import { UnitDefinition, ThisFabricUnit } from "@rbxts/fabric";

declare global {
	interface FabricUnits {
		ExampleUnit: ExampleUnitDefinition;
	}
}

interface ExampleUnitDefinition extends UnitDefinition<"ExampleUnit"> {
	foo(this: ThisFabricUnit<"ExampleUnit">): void;
}

The ExampleUnitDefinition interface does not have any intellisense for properties like data, ref, or _addLayerData

fabric.DEBUG not accessible

the DEBUG field of the Fabric class makes it inaccessible to disable DEBUG mode. To fix change protected to public.

declare class Fabric {
	public DEBUG: boolean;

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.