chore: add missing gin::Wrappable GetTypeName overrides (#41512)

chore: add missing gin::Wrappable GetTypeName overrides
This commit is contained in:
Shelley Vohr 2024-03-06 12:45:28 +01:00 committed by GitHub
parent a7d664e3a3
commit 62331f5ac1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 23 additions and 5 deletions

View file

@ -18,7 +18,9 @@ namespace electron::api {
// Retains reference to the data pipe.
class DataPipeHolder : public gin::Wrappable<DataPipeHolder> {
public:
// gin::Wrappable
static gin::WrapperInfo kWrapperInfo;
const char* GetTypeName() override;
static gin::Handle<DataPipeHolder> Create(
v8::Isolate* isolate,