Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type hint action #115

Merged
merged 1 commit into from
Jun 11, 2023
Merged

Add type hint action #115

merged 1 commit into from
Jun 11, 2023

Conversation

RblSb
Copy link
Member

@RblSb RblSb commented Jun 5, 2023

Works on config/arr/cords/foo/arg/return and etc

class Main {
	final config = {
		x: 1,
		y: foo(0)
	}
	static function main() {
		final arr = [];
		arr.push(0);
		final first = arr[0];
		final cords = [{
			x: 0.0,
			y: 0.0,
			scale: 0.5
		}];
	}
	static function foo(arg, ?b:()->Void) {
		arg += 1;
		return () -> 1;
	}
}

@AlexHaxe AlexHaxe merged commit 39a0d91 into vshaxe:master Jun 11, 2023
2 checks passed
@RblSb RblSb deleted the typehint_action branch June 12, 2023 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants