Skip to content

Commit

Permalink
Also allow null directions
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Nov 9, 2023
1 parent 5eb5b3f commit 951da64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-model.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export interface Literal {
/**
* the direction of the language-tagged string.
*/
direction?: 'ltr' | 'rtl' | '';
direction?: 'ltr' | 'rtl' | '' | null;
/**
* A NamedNode whose IRI represents the datatype of the literal.
*/
Expand Down Expand Up @@ -298,5 +298,5 @@ export interface DataFactory<OutQuad extends BaseQuad = Quad, InQuad extends Bas

export interface DirectionalLanguage {
language: string;
direction?: 'ltr' | 'rtl' | '';
direction?: 'ltr' | 'rtl' | '' | null;
}

0 comments on commit 951da64

Please sign in to comment.