@github/time-elements
Advanced tools
Comparing version 3.5.2 to 3.6.0
import LocalTimeElement from './local-time-element.js'; | ||
declare type JSXBaseElement = JSX.IntrinsicElements extends { | ||
span: unknown; | ||
} ? JSX.IntrinsicElements['span'] : Record<string, unknown>; | ||
declare global { | ||
@@ -9,4 +12,9 @@ interface Window { | ||
} | ||
namespace JSX { | ||
interface IntrinsicElements { | ||
['local-time']: JSXBaseElement & Partial<Omit<LocalTimeElement, keyof HTMLElement>>; | ||
} | ||
} | ||
} | ||
export default LocalTimeElement; | ||
export * from './local-time-element.js'; |
import RelativeTimeElement from './relative-time-element.js'; | ||
declare type JSXBaseElement = JSX.IntrinsicElements extends { | ||
span: unknown; | ||
} ? JSX.IntrinsicElements['span'] : Record<string, unknown>; | ||
declare global { | ||
@@ -9,4 +12,9 @@ interface Window { | ||
} | ||
namespace JSX { | ||
interface IntrinsicElements { | ||
['relative-time']: JSXBaseElement & Partial<Omit<RelativeTimeElement, keyof HTMLElement>>; | ||
} | ||
} | ||
} | ||
export default RelativeTimeElement; | ||
export * from './relative-time-element.js'; |
import TimeAgoElement from './time-ago-element.js'; | ||
declare type JSXBaseElement = JSX.IntrinsicElements extends { | ||
span: unknown; | ||
} ? JSX.IntrinsicElements['span'] : Record<string, unknown>; | ||
declare global { | ||
@@ -9,4 +12,9 @@ interface Window { | ||
} | ||
namespace JSX { | ||
interface IntrinsicElements { | ||
['time-ago']: JSXBaseElement & Partial<Omit<TimeAgoElement, keyof HTMLElement>>; | ||
} | ||
} | ||
} | ||
export default TimeAgoElement; | ||
export * from './time-ago-element.js'; |
import TimeUntilElement from './time-until-element.js'; | ||
declare type JSXBaseElement = JSX.IntrinsicElements extends { | ||
span: unknown; | ||
} ? JSX.IntrinsicElements['span'] : Record<string, unknown>; | ||
declare global { | ||
@@ -9,4 +12,9 @@ interface Window { | ||
} | ||
namespace JSX { | ||
interface IntrinsicElements { | ||
['time-until']: JSXBaseElement & Partial<Omit<TimeUntilElement, keyof HTMLElement>>; | ||
} | ||
} | ||
} | ||
export default TimeUntilElement; | ||
export * from './time-until-element.js'; |
{ | ||
"name": "@github/time-elements", | ||
"version": "3.5.2", | ||
"version": "3.6.0", | ||
"main": "dist/bundle.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
131903
3483