Skip to content

How can you use jQuery's $? #404

Closed
Closed
@im1dermike

Description

@im1dermike

I'm trying to create a React sandbox with the following code:

declare const $: any;

This works in my own codebase without having to do anything special. I get an "Unexpected token, expected" error, though.

How can I get use jQuery in CodeSandbox and get $ to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions