Skip to content
Extraits de code Groupes Projets
Valider b96794d8 rédigé par Will Hunt's avatar Will Hunt
Parcourir les fichiers

Add a type for SQLTYPES

parent e3f747c3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -14,12 +14,14 @@ See the License for the specific language governing permissions and ...@@ -14,12 +14,14 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
type SQLTYPES = number | boolean | string | null;
export interface ISqlCommandParameters { export interface ISqlCommandParameters {
[paramKey: string]: number | boolean | string | Promise<number | boolean | string>; [paramKey: string]: SQLTYPES | Promise<SQLTYPES>;
} }
export interface ISqlRow { export interface ISqlRow {
[key: string]: number | boolean | string; [key: string]: SQLTYPES;
} }
export interface IDatabaseConnector { export interface IDatabaseConnector {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter