mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
With new version of node we can import ts files directly in our scripts rather than using tsx
25 lines
625 B
TypeScript
25 lines
625 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
import {type SynonymHit} from 'algoliasearch';
|
|
|
|
/**
|
|
* List of synonyms to upload to algolia.
|
|
*
|
|
* More information about synonyms can be found here:
|
|
* https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/
|
|
*/
|
|
const synonyms: SynonymHit[] = [
|
|
{
|
|
objectID: 'di-synonyms',
|
|
type: 'synonym',
|
|
synonyms: ['DI', 'dependency injection'],
|
|
},
|
|
];
|
|
|
|
export default synonyms;
|