Closed robingenz closed 1 year ago
The generated value in reference types always has the prefix @capacitor. However, community plugins have a different scope or no scope at all.
reference types
@capacitor
Example (see https://github.com/robingenz/capacitor-firebase/blob/main/packages/authentication/README.md#examples):
/// <reference types="@capacitor/firebase-authentication" /> import { CapacitorConfig } from '@capacitor/cli'; const config: CapacitorConfig = { plugins: { FirebaseAuthentication: { skipNativeAuth: false, providers: ["apple.com", "google.com"], }, }, }; export default config;
/// <reference types="@capacitor/firebase-authentication" /> should be /// <reference types="@capacitor-firebase/authentication" />.
/// <reference types="@capacitor/firebase-authentication" />
/// <reference types="@capacitor-firebase/authentication" />
The generated value in
reference types
always has the prefix@capacitor
. However, community plugins have a different scope or no scope at all.Example (see https://github.com/robingenz/capacitor-firebase/blob/main/packages/authentication/README.md#examples):
/// <reference types="@capacitor/firebase-authentication" />
should be/// <reference types="@capacitor-firebase/authentication" />
.