Comparing version 4.0.0 to 4.0.1
@@ -1,2 +0,2 @@ | ||
import { Component, MdFunctionElement } from "."; | ||
import { Component, MarkdownElement } from "."; | ||
/** | ||
@@ -14,2 +14,2 @@ * Wraps a function that returns a promise to be a valid component | ||
*/ | ||
export declare function awaitComponent<Props>(componentFn: (props: Props) => Promise<MdFunctionElement<Props>>): Component<Props>; | ||
export declare function awaitComponent<Props>(componentFn: (props: Props) => Promise<MarkdownElement<Props> | null>): Component<Props>; |
@@ -43,3 +43,3 @@ /** @internal */ | ||
mdAwait: { | ||
children?: Promise<MdFunctionElement>; | ||
children?: Promise<MarkdownElement<any> | null>; | ||
}; | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "jsx-md", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Generate markdown files with a React-like syntax.", | ||
@@ -34,3 +34,5 @@ "main": "lib/index.js", | ||
"@commitlint/config-conventional": "^9.1.2", | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"@semantic-release/github": "^7.1.1", | ||
"@types/jest": "^26.0.10", | ||
@@ -37,0 +39,0 @@ "@types/react": "^16.9.49", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81240
123
28