This is an automated email from the ASF dual-hosted git repository.

robin0716 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git

commit 5a554354d7b55e5b5a145fcfd82350f51635d81e
Author: robin <[email protected]>
AuthorDate: Wed Sep 25 16:42:46 2024 +0800

    refactor: Code to add Apache License header
---
 embed-basic/types.ts                   | 19 +++++++++++++++++++
 render-markdown-codehighlight/types.ts | 19 +++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/embed-basic/types.ts b/embed-basic/types.ts
index ad5aebd..6a034fc 100644
--- a/embed-basic/types.ts
+++ b/embed-basic/types.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import { RefObject } from 'react';
 
 export type pluginHookProps = HTMLElement | RefObject<HTMLElement> | null;
diff --git a/render-markdown-codehighlight/types.ts 
b/render-markdown-codehighlight/types.ts
index ad5aebd..6a034fc 100644
--- a/render-markdown-codehighlight/types.ts
+++ b/render-markdown-codehighlight/types.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 import { RefObject } from 'react';
 
 export type pluginHookProps = HTMLElement | RefObject<HTMLElement> | null;

Reply via email to