Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

error (checkPropTypes is not a function) while using with sveltekit #378

@code-masala

Description

@code-masala
	import * as PropTypes from "prop-types";
	const {checkPropTypes, number} = PropTypes;
       const propTypes = {
		threshold: number,
	};
	checkPropTypes(propTypes, $$props, "prop", "Observer");

This is giving error checkPropTypes is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions