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

Should prefix types named in BRSDoc comments in preparation for Brighterscript v1 #79

Open
markwpearce opened this issue Nov 1, 2024 · 0 comments

Comments

@markwpearce
Copy link

Eg...:

    ' @param {roSGNodePromise} promise
    ' @param {Function} callback
    ' @param {object} [context="__INVALID__"]
    ' @return {roSGNodePromise}
    function onThen(promise as dynamic, callback as function, context = "__INVALID__" as object) as dynamic
        return promises.internal.on("then", promise, callback, context)
    end function

should prefix to:

    ' @param {roSGNodepromises_Promise} promise
    ' @param {Function} callback
    ' @param {object} [context="__INVALID__"]
    ' @return {roSGNodepromises_Promise}
    function onThen(promise as dynamic, callback as function, context = "__INVALID__" as object) as dynamic
        return promises.internal.on("then", promise, callback, context)
    end function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant