Commit 7a97df07 authored by Guillaume Perréal's avatar Guillaume Perréal

Accepte les entiers comme paramètres d'IRI.

/closes #7
parent dd76602d
......@@ -153,7 +153,8 @@ export abstract class AbstractResourceCache {
/**
* Type des paramètrès
*/
export type IRIParameters = string[] | string;
type IRIParameter = string | number;
export type IRIParameters = IRIParameter[] | IRIParameter;
/**
* Informations sur l'IRI d'une resource.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment