From 4bbc84cf13b31b7f266c2aad8cb416e790c440fb Mon Sep 17 00:00:00 2001 From: Amber Cronin Date: Fri, 24 May 2024 10:00:04 +0100 Subject: [PATCH] Add missing copyright declaration --- .pre-commit-config.yaml | 1 - packages/types/README.md | 2 +- packages/types/index.d.ts | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bae17ea..d7e72bd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,6 @@ repos: hooks: - id: insert-license files: '\.(js.?|ts.?)$' - exclude: '\.d.ts.?$' args: - --license-filepath - ./license_header.txt diff --git a/packages/types/README.md b/packages/types/README.md index ac91387..f72d669 100644 --- a/packages/types/README.md +++ b/packages/types/README.md @@ -1,3 +1,3 @@ # types - +Types and interface exports for Starlight. Based on the Zigbee2MQTT project. diff --git a/packages/types/index.d.ts b/packages/types/index.d.ts index 6af0e2a..205958f 100644 --- a/packages/types/index.d.ts +++ b/packages/types/index.d.ts @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: © 2024 Amber Cronin +// SPDX-License-Identifier: AGPL-3.0-or-later + export interface Device { [index: string]: any; ieee_address: string;