Skip to content

Allow getting type information from file without requiring it #790

Answered by hishamhm
Hedwig7s asked this question in Q&A
Discussion options

You must be logged in to vote

You can do that today with

local type mod = require("mod")

This will load the type info without outputting a require() call in the generated code.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Hedwig7s
Comment options

@hishamhm
Comment options

Answer selected by Hedwig7s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #789 on August 21, 2024 21:45.