Skip to content

Commit

Permalink
little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Mar 5, 2024
1 parent b980e18 commit 42dcb53
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
6 changes: 3 additions & 3 deletions packages/temporal-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@
"./fns/plaindate": {
"src": "funcApi/plainDate"
},
"./fns/plaintime": {
"src": "funcApi/plainTime"
},
"./fns/plainyearmonth": {
"src": "funcApi/plainYearMonth"
},
"./fns/plainmonthday": {
"src": "funcApi/plainMonthDay"
},
"./fns/plaintime": {
"src": "funcApi/plainTime"
},
"./fns/duration": {
"src": "funcApi/duration"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/temporal-polyfill/src/funcApi/plainDateTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export const since = bindArgs(

export const round = roundPlainDateTime<string> as (
record: Record,
options: RoundOptions,
options: DayTimeUnitName | RoundOptions,
) => Record

export const equals = plainDateTimesEqual<string> as (
Expand Down
2 changes: 1 addition & 1 deletion packages/temporal-polyfill/src/internal/slots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export type PlainYearMonthSlots<C> = IsoDateFields & {

export type DurationSlots = DurationFields & {
branding: typeof DurationBranding
sign: NumberSign // extra data
sign: NumberSign // computed data
}

export type InstantSlots = {
Expand Down
4 changes: 3 additions & 1 deletion packages/temporal-polyfill/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"extends": "./tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "ES2018",
"lib": ["ES2017", "ES2021.Intl", "ES2020.BigInt"],
"rootDir": "src",
"outDir": "dist/.tsc",
"tsBuildInfoFile": "dist/.tsbuildinfo",
Expand Down
4 changes: 0 additions & 4 deletions packages/temporal-polyfill/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "ES2018",
"lib": ["ES2017", "ES2021.Intl", "ES2020.BigInt"]
},
"include": ["src/**/*"],
"exclude": ["src/typeOverrides/global.ts"]
}

0 comments on commit 42dcb53

Please sign in to comment.