Skip to content

Commit 951da64

Browse files
committed
Also allow null directions
1 parent 5eb5b3f commit 951da64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data-model.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export interface Literal {
7676
/**
7777
* the direction of the language-tagged string.
7878
*/
79-
direction?: 'ltr' | 'rtl' | '';
79+
direction?: 'ltr' | 'rtl' | '' | null;
8080
/**
8181
* A NamedNode whose IRI represents the datatype of the literal.
8282
*/
@@ -298,5 +298,5 @@ export interface DataFactory<OutQuad extends BaseQuad = Quad, InQuad extends Bas
298298

299299
export interface DirectionalLanguage {
300300
language: string;
301-
direction?: 'ltr' | 'rtl' | '';
301+
direction?: 'ltr' | 'rtl' | '' | null;
302302
}

0 commit comments

Comments
 (0)