Skip to content

Commit

Permalink
+pages
Browse files Browse the repository at this point in the history
  • Loading branch information
eddow committed Apr 30, 2024
1 parent cb0f1ea commit 7385c6b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# OmnI18n

Test GH-pages

[Part 2](./part2)
7 changes: 7 additions & 0 deletions docs/part2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Part 2

[root](/)

[local root](./)

[index](README.md)
2 changes: 1 addition & 1 deletion src/defer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default class Defer {
cancel() {
if (!this.timeout) return
clearTimeout(this.timeout)
this.rejecter!()
this.rejecter!('`Defer`red action canceled')
this.timeout = undefined
}

Expand Down
2 changes: 1 addition & 1 deletion src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function localeTree(locale: OmnI18n.Locale) {
* Server class that should be instantiated once and used to interact with the database
*/
export default class I18nServer<KeyInfos extends {} = {}, TextInfos extends {} = {}> {
constructor(protected db: OmnI18n.DB<KeyInfos, TextInfos>) {
constructor(protected db: OmnI18n.DB) {
this.condense = this.condense.bind(this)
}

Expand Down
2 changes: 1 addition & 1 deletion src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ declare namespace OmnI18n {
infos: KeyInfos
}
/**
* Used for translator-related operations
* Dictionary used for translator-related operations
*/
type WorkDictionary = Record<string, WorkDictionaryEntry>

Expand Down

0 comments on commit 7385c6b

Please sign in to comment.